From 749fdd0201db0f0d3b00b7897ee2f2a71cafe8cf Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Wed, 14 Feb 2001 13:00:01 +0000 Subject: [PATCH] (w32_wnd_proc) : Allow resizing the Emacs frame above the screen size. --- src/w32fns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/w32fns.c b/src/w32fns.c index efd9efa108c..c36823cc229 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -4845,6 +4845,10 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) /* Hack to correct bug that allows Emacs frames to be resized below the Minimum Tracking Size. */ ((LPMINMAXINFO) lParam)->ptMinTrackSize.y++; + /* Hack to allow resizing the Emacs frame above the screen size. + Note that Windows 9x limits coordinates to 16-bits. */ + ((LPMINMAXINFO) lParam)->ptMaxTrackSize.x = 32767; + ((LPMINMAXINFO) lParam)->ptMaxTrackSize.y = 32767; return 0; case WM_EMACS_CREATESCROLLBAR: -- 2.30.2